package cn.wp.common.core.plugin.fileserver.strategy;

import cn.wp.common.core.exception.WpException;
import cn.wp.common.core.plugin.fileserver.FileInfo;
import cn.wp.common.core.plugin.fileserver.StorageProcessHandler;
import cn.wp.common.core.plugin.fileserver.StorageStrategy;
import cn.wp.common.core.plugin.fileserver.StrategyParameter;

import java.io.File;
import java.io.InputStream;

/**
 * 主题存储策略
 * 一类主题文件放在一处
 * Created by chenyb on 2019/09/30
 */
public class TopicStrategy extends StorageStrategy {

    public void store(File file, StrategyParameter parameter,FileInfo fileInfo, String rootPath) {
        throw new WpException("主题存储策略暂未实现");
    }

    @Override
    public void store(InputStream inputStream, StrategyParameter parameter, FileInfo fileInfo, StorageProcessHandler storageProcessHandler) {
        throw new WpException("主题存储策略暂未实现");
    }

}
